<?php

$css = array();
if($dir = opendir(".")) {
	while($f = readdir($dir)) {
		if(preg_match('/\.css$/', $f)){
			$css[] = $f;
		}
	}
}

header("Content-Type: text/css;charset=utf-8");
header("Content-Disposition: inline;filename=style.css");
foreach($css as $c){
	echo "@import url('$c');\n";
}

?>